package com.suishoupai.xmb.dao;

import com.suishoupai.xmb.entity.CutSearch;
import com.suishoupai.xmb.entity.Search;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by caojian on 2017/4/14.
 */
public interface CutSearchMapper {
    int updateByPrimaryKeySelective(Search search);

    List<CutSearch> searchGoodsAndSale(@Param("name") String name, @Param("xiaoquId") long xiaoquId);

    List<CutSearch> searchXiaoqu(@Param("name") String name);
}
